package com.alex.seo.utils;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.StandardToStringStyle;


public class ObjectUtils {
	
	private static final StandardToStringStyle STYLE = new StandardToStringStyle();

	static {
		STYLE.setUseShortClassName(true);
		STYLE.setUseIdentityHashCode(false);
	}
	
	public static String toString(Object object) {
		return new ReflectionToStringBuilder(object, STYLE).toString();
	}
	
}
